import http from '../utils/http'

const apiName = '/vpi/operate'

export const chargingProgressApi = {
    // 查询电压电流功率
    opretionStatus(data) {
        return http.post(`${apiName}/opretionStatus`, data)
    },

    //   结束充电
    endCharging(data) {
        return http.post(`${apiName}/end`, data, { timeout: 60000 }) // 60秒超时
    }
}